<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>登录</title>
    <th:block th:replace="welcome :: static-file"></th:block>
</head>
<body>
<th:block th:replace="welcome :: navbar"></th:block>
<div class="layui-container">
    <form class="layui-form" th:action="@{/user/login}" method="POST" >
        <div class="layui-form-item">
            <label class="layui-form-label">用户名</label>
            <div class="layui-input-block">
                <input  type="text" class="layui-input"   name="username" value="Tom" >
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">密码</label>
            <div class="layui-input-block">
                <input  type="password" class="layui-input"  name="password" value="123" >
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-input-block">
                <button class="layui-btn" lay-submit lay-filter="loginForm">立即提交</button>
                <button type="reset" class="layui-btn layui-btn-primary">重置</button>
            </div>
        </div>
    </form>
</div>
</body>
<script>

</script>
</html>